home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
176-200
/
disk_177
/
jask
/
test_jask
< prev
Wrap
Text File
|
1992-05-06
|
1KB
|
36 lines
; Copyright 1988 by I2(EYE) Systems. TEST_JASK - Version 1.0
;
failat 6
; these parameters say:
; -r = the requester text is YA MOMMA is ?
; -p = the positive gadget says FAT
; -n = the negative gadget says UGLY
; -d = the default is positive and draw a fancy border around the pos gad
; -t = parameter not specified so never timeout
jask "-rYA MOMMA is ?" -pFAT -nUGLY -dp
if warn
echo "POS Gadget pressed"
else
echo "NEG Gadget pressed"
endif
; these parameters say:
; -r = the requester text is YA MOMMA is ?
; -p = the positive gadget says FAT
; -n = the negative gadget says UGLY
; -d = the default is negative and draw a fancy border around the neg gad
; -t = timeout after 5 seconds and take the default answer
; -q = bring up the requester quick, don't scroll it up
jask "-rYA MOMMA is ?" -pFAT -nUGLY -dn -t5 -q
if warn
echo "POS Gadget pressed"
else
echo "NEG Gadget pressed"
endif
; Only the required parameter is specified here
jask "-rIsn't this a simple case?"
if warn
echo "POS Gadget pressed"
else
echo "NEG Gadget pressed"
endif